﻿/// Write a program to convert decimal numbers to their binary representation.


using System;
using System.Collections.Generic;

namespace c_sh_II_lek_7_numeral
{
    class zad1
    {
        static void Main()
        {
            int number = int.Parse(Console.ReadLine());
            List<int> binaryList = new List<int>();
            
            while (number > 0)
            {
                binaryList.Add(number % 2);
                number = number / 2;
            }
            
            binaryList.Reverse();
            
            for (int i = 0; i < binaryList.Count; i++)
            {
                Console.Write(binaryList[i]);
            }
            
            Console.WriteLine();
        }
    }
}
